#include "stm32f10x.h"                  // Device header
#include "Delay.h"
#include "BUZZER.h"
#include "MHSensor.h"

int main(void)
{
	BUZZER_Init();
	MH_Sensor_Init();
	
	while(1)
	{
		if(MH_Sensor_Get()==1)
		{
			BUZZER_ON();
		}
		else
		{
			BUZZER_OFF();
		}
	}
	
}
